.class Lcom/example/inshopbuy/InShopMerchantPictruesActivity$1;
.super Landroid/os/Handler;
.source "InShopMerchantPictruesActivity.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/example/inshopbuy/InShopMerchantPictruesActivity;->onCreate(Landroid/os/Bundle;)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/example/inshopbuy/InShopMerchantPictruesActivity;


# direct methods
.method constructor <init>(Lcom/example/inshopbuy/InShopMerchantPictruesActivity;)V
    .locals 0

    .prologue
    .line 1
    iput-object p1, p0, Lcom/example/inshopbuy/InShopMerchantPictruesActivity$1;->this$0:Lcom/example/inshopbuy/InShopMerchantPictruesActivity;

    .line 62
    invoke-direct {p0}, Landroid/os/Handler;-><init>()V

    return-void
.end method

.method static synthetic access$0(Lcom/example/inshopbuy/InShopMerchantPictruesActivity$1;)Lcom/example/inshopbuy/InShopMerchantPictruesActivity;
    .locals 1

    .prologue
    .line 62
    iget-object v0, p0, Lcom/example/inshopbuy/InShopMerchantPictruesActivity$1;->this$0:Lcom/example/inshopbuy/InShopMerchantPictruesActivity;

    return-object v0
.end method


# virtual methods
.method public handleMessage(Landroid/os/Message;)V
    .locals 6
    .param p1, "msg"    # Landroid/os/Message;

    .prologue
    .line 65
    invoke-super {p0, p1}, Landroid/os/Handler;->handleMessage(Landroid/os/Message;)V

    .line 67
    iget v3, p1, Landroid/os/Message;->arg1:I

    packed-switch v3, :pswitch_data_0

    .line 109
    :goto_0
    return-void

    .line 70
    :pswitch_0
    const/4 v0, 0x0

    .local v0, "i":I
    :goto_1
    iget-object v3, p0, Lcom/example/inshopbuy/InShopMerchantPictruesActivity$1;->this$0:Lcom/example/inshopbuy/InShopMerchantPictruesActivity;

    # getter for: Lcom/example/inshopbuy/InShopMerchantPictruesActivity;->shopimgs:Ljava/util/List;
    invoke-static {v3}, Lcom/example/inshopbuy/InShopMerchantPictruesActivity;->access$0(Lcom/example/inshopbuy/InShopMerchantPictruesActivity;)Ljava/util/List;

    move-result-object v3

    invoke-interface {v3}, Ljava/util/List;->size()I

    move-result v3

    if-lt v0, v3, :cond_0

    .line 80
    iget-object v3, p0, Lcom/example/inshopbuy/InShopMerchantPictruesActivity$1;->this$0:Lcom/example/inshopbuy/InShopMerchantPictruesActivity;

    # getter for: Lcom/example/inshopbuy/InShopMerchantPictruesActivity;->viewPager:Landroid/support/v4/view/ViewPager;
    invoke-static {v3}, Lcom/example/inshopbuy/InShopMerchantPictruesActivity;->access$5(Lcom/example/inshopbuy/InShopMerchantPictruesActivity;)Landroid/support/v4/view/ViewPager;

    move-result-object v3

    new-instance v4, Lcom/example/inshopbuy/InShopMerchantPictruesActivity$1$1;

    invoke-direct {v4, p0}, Lcom/example/inshopbuy/InShopMerchantPictruesActivity$1$1;-><init>(Lcom/example/inshopbuy/InShopMerchantPictruesActivity$1;)V

    invoke-virtual {v3, v4}, Landroid/support/v4/view/ViewPager;->setOnPageChangeListener(Landroid/support/v4/view/ViewPager$OnPageChangeListener;)V

    .line 98
    iget-object v3, p0, Lcom/example/inshopbuy/InShopMerchantPictruesActivity$1;->this$0:Lcom/example/inshopbuy/InShopMerchantPictruesActivity;

    # getter for: Lcom/example/inshopbuy/InShopMerchantPictruesActivity;->viewPager:Landroid/support/v4/view/ViewPager;
    invoke-static {v3}, Lcom/example/inshopbuy/InShopMerchantPictruesActivity;->access$5(Lcom/example/inshopbuy/InShopMerchantPictruesActivity;)Landroid/support/v4/view/ViewPager;

    move-result-object v3

    new-instance v4, Lcom/example/inshopbuy/InShopMerchantPictruesActivity$MyAdapter;

    iget-object v5, p0, Lcom/example/inshopbuy/InShopMerchantPictruesActivity$1;->this$0:Lcom/example/inshopbuy/InShopMerchantPictruesActivity;

    invoke-direct {v4, v5}, Lcom/example/inshopbuy/InShopMerchantPictruesActivity$MyAdapter;-><init>(Lcom/example/inshopbuy/InShopMerchantPictruesActivity;)V

    invoke-virtual {v3, v4}, Landroid/support/v4/view/ViewPager;->setAdapter(Landroid/support/v4/view/PagerAdapter;)V

    .line 99
    iget-object v3, p0, Lcom/example/inshopbuy/InShopMerchantPictruesActivity$1;->this$0:Lcom/example/inshopbuy/InShopMerchantPictruesActivity;

    # getter for: Lcom/example/inshopbuy/InShopMerchantPictruesActivity;->viewPager:Landroid/support/v4/view/ViewPager;
    invoke-static {v3}, Lcom/example/inshopbuy/InShopMerchantPictruesActivity;->access$5(Lcom/example/inshopbuy/InShopMerchantPictruesActivity;)Landroid/support/v4/view/ViewPager;

    move-result-object v3

    iget-object v4, p0, Lcom/example/inshopbuy/InShopMerchantPictruesActivity$1;->this$0:Lcom/example/inshopbuy/InShopMerchantPictruesActivity;

    # getter for: Lcom/example/inshopbuy/InShopMerchantPictruesActivity;->currntPositon:I
    invoke-static {v4}, Lcom/example/inshopbuy/InShopMerchantPictruesActivity;->access$7(Lcom/example/inshopbuy/InShopMerchantPictruesActivity;)I

    move-result v4

    invoke-virtual {v3, v4}, Landroid/support/v4/view/ViewPager;->setCurrentItem(I)V

    .line 100
    iget-object v3, p0, Lcom/example/inshopbuy/InShopMerchantPictruesActivity$1;->this$0:Lcom/example/inshopbuy/InShopMerchantPictruesActivity;

    # getter for: Lcom/example/inshopbuy/InShopMerchantPictruesActivity;->type:Landroid/widget/TextView;
    invoke-static {v3}, Lcom/example/inshopbuy/InShopMerchantPictruesActivity;->access$6(Lcom/example/inshopbuy/InShopMerchantPictruesActivity;)Landroid/widget/TextView;

    move-result-object v4

    iget-object v3, p0, Lcom/example/inshopbuy/InShopMerchantPictruesActivity$1;->this$0:Lcom/example/inshopbuy/InShopMerchantPictruesActivity;

    # getter for: Lcom/example/inshopbuy/InShopMerchantPictruesActivity;->shopimgs:Ljava/util/List;
    invoke-static {v3}, Lcom/example/inshopbuy/InShopMerchantPictruesActivity;->access$0(Lcom/example/inshopbuy/InShopMerchantPictruesActivity;)Ljava/util/List;

    move-result-object v3

    iget-object v5, p0, Lcom/example/inshopbuy/InShopMerchantPictruesActivity$1;->this$0:Lcom/example/inshopbuy/InShopMerchantPictruesActivity;

    # getter for: Lcom/example/inshopbuy/InShopMerchantPictruesActivity;->currntPositon:I
    invoke-static {v5}, Lcom/example/inshopbuy/InShopMerchantPictruesActivity;->access$7(Lcom/example/inshopbuy/InShopMerchantPictruesActivity;)I

    move-result v5

    invoke-interface {v3, v5}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v3

    check-cast v3, Lbean/Shopimg;

    invoke-virtual {v3}, Lbean/Shopimg;->getName()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v4, v3}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    goto :goto_0

    .line 71
    :cond_0
    iget-object v3, p0, Lcom/example/inshopbuy/InShopMerchantPictruesActivity$1;->this$0:Lcom/example/inshopbuy/InShopMerchantPictruesActivity;

    # getter for: Lcom/example/inshopbuy/InShopMerchantPictruesActivity;->shopimgs:Ljava/util/List;
    invoke-static {v3}, Lcom/example/inshopbuy/InShopMerchantPictruesActivity;->access$0(Lcom/example/inshopbuy/InShopMerchantPictruesActivity;)Ljava/util/List;

    move-result-object v3

    invoke-interface {v3, v0}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Lbean/Shopimg;

    .line 72
    .local v2, "sb":Lbean/Shopimg;
    new-instance v1, Landroid/widget/ImageView;

    iget-object v3, p0, Lcom/example/inshopbuy/InShopMerchantPictruesActivity$1;->this$0:Lcom/example/inshopbuy/InShopMerchantPictruesActivity;

    # getter for: Lcom/example/inshopbuy/InShopMerchantPictruesActivity;->context:Landroid/content/Context;
    invoke-static {v3}, Lcom/example/inshopbuy/InShopMerchantPictruesActivity;->access$1(Lcom/example/inshopbuy/InShopMerchantPictruesActivity;)Landroid/content/Context;

    move-result-object v3

    invoke-direct {v1, v3}, Landroid/widget/ImageView;-><init>(Landroid/content/Context;)V

    .line 73
    .local v1, "imageView":Landroid/widget/ImageView;
    iget-object v3, p0, Lcom/example/inshopbuy/InShopMerchantPictruesActivity$1;->this$0:Lcom/example/inshopbuy/InShopMerchantPictruesActivity;

    # getter for: Lcom/example/inshopbuy/InShopMerchantPictruesActivity;->params:Landroid/view/ViewGroup$LayoutParams;
    invoke-static {v3}, Lcom/example/inshopbuy/InShopMerchantPictruesActivity;->access$2(Lcom/example/inshopbuy/InShopMerchantPictruesActivity;)Landroid/view/ViewGroup$LayoutParams;

    move-result-object v3

    invoke-virtual {v1, v3}, Landroid/widget/ImageView;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    .line 74
    sget-object v3, Landroid/widget/ImageView$ScaleType;->FIT_CENTER:Landroid/widget/ImageView$ScaleType;

    invoke-virtual {v1, v3}, Landroid/widget/ImageView;->setScaleType(Landroid/widget/ImageView$ScaleType;)V

    .line 75
    iget-object v3, p0, Lcom/example/inshopbuy/InShopMerchantPictruesActivity$1;->this$0:Lcom/example/inshopbuy/InShopMerchantPictruesActivity;

    # getter for: Lcom/example/inshopbuy/InShopMerchantPictruesActivity;->loader:Lcom/nostra13/universalimageloader/core/ImageLoader;
    invoke-static {v3}, Lcom/example/inshopbuy/InShopMerchantPictruesActivity;->access$3(Lcom/example/inshopbuy/InShopMerchantPictruesActivity;)Lcom/nostra13/universalimageloader/core/ImageLoader;

    move-result-object v3

    new-instance v4, Ljava/lang/StringBuilder;

    iget-object v5, p0, Lcom/example/inshopbuy/InShopMerchantPictruesActivity$1;->this$0:Lcom/example/inshopbuy/InShopMerchantPictruesActivity;

    # getter for: Lcom/example/inshopbuy/InShopMerchantPictruesActivity;->m:Lmyapp/MyApp;
    invoke-static {v5}, Lcom/example/inshopbuy/InShopMerchantPictruesActivity;->access$4(Lcom/example/inshopbuy/InShopMerchantPictruesActivity;)Lmyapp/MyApp;

    move-result-object v5

    invoke-virtual {v5}, Lmyapp/MyApp;->getWebConfig()Ljava/lang/String;

    move-result-object v5

    invoke-static {v5}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v5

    invoke-direct {v4, v5}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-virtual {v2}, Lbean/Shopimg;->getImg()Ljava/lang/String;

    move-result-object v5

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v4

    invoke-virtual {v4}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v3, v4, v1}, Lcom/nostra13/universalimageloader/core/ImageLoader;->displayImage(Ljava/lang/String;Landroid/widget/ImageView;)V

    .line 76
    invoke-virtual {v2, v1}, Lbean/Shopimg;->setImageView(Landroid/widget/ImageView;)V

    .line 70
    add-int/lit8 v0, v0, 0x1

    goto/16 :goto_1

    .line 67
    nop

    :pswitch_data_0
    .packed-switch 0x3
        :pswitch_0
    .end packed-switch
.end method
